package com.igogogo.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.igogogo.aop.Auth;
import com.igogogo.entity.Accounts;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Mr.Chen
 * @since 2018-07-01
 */
@Repository
public interface AccountsMapper extends BaseMapper<Accounts> {

    @Auth
    List<Accounts> selectPage(Pagination page);

}
